<?php

use App\Models\InstallInfo;
use Carbon\Carbon;
use Illuminate\Database\Seeder;

class InstallInfoTableSeeder extends Seeder
{
    /**
     * Run the database seeds.
     *
     * @return void
     */
    public function run()
    {
        InstallInfo::create([
        		'device_code' => '2016100800000001',
        		'customer_name' => 'customer_name1',
        		'phone' => 13245678954,
        		'installation_address' => 'installation_address1',
        		'operator' => 'operator',
        		'operator_phone' => 18945678912,
        		'status' => '未安装',
        	    'dealer' => 'guiyang01',
                'install_at' => Carbon::now(),
                'remark' => 'remark',
        	]);

        InstallInfo::create([
        		'device_code' => '2016100800000002',
        		'customer_name' => 'customer_name2',
        		'phone' => 13245678945,
        		'installation_address' => 'installation_address',
        		'operator' => 'operator',
        		'operator_phone' => 18945678912,
        		'status' => '未安装',
        	    'dealer' => 'guiyang02',
                'install_at' => Carbon::now(),
                'remark' => 'remark',
        	]);

        InstallInfo::create([
        		'device_code' => '2016100800000003',
        		'customer_name' => 'customer_name3',
        		'phone' => 13245675489,
        		'installation_address' => 'installation_address1',
        		'operator' => 'operator',
        		'operator_phone' => 18945678912,
        		'status' => '未安装',
        	    'dealer' => 'guiyang03',
                'install_at' => Carbon::now(),
                'remark' => 'remark',
        	]);
    }
}
